/**
 * Copyright &copy; 2015-2020 <a href="http://www.easyhis.com/">easyhis</a> All rights reserved.
 */
package com.easy.dfcshop.entity;

import com.easy.common.utils.excel.annotation.ExcelField;
import com.easy.core.persistence.DataEntity;

import javax.validation.constraints.NotNull;

/**
 * 商品视频Entity
 * @author waylen chi
 * @version 2018-01-17
 */
public class ProductVideo extends DataEntity<ProductVideo> {
	
	private static final long serialVersionUID = 1L;
	private Integer videoId;		// video_id
	private Integer productId;		// 商品ID
	private String coverPlan;		// 封面图片ID
	private String videoUrl;		// 视频地址
	private String videoDesc;		// 视频描述
	
	public ProductVideo() {
		super();
	}

	@NotNull(message="video_id不能为空")
	@ExcelField(title="video_id", align=2, sort=0)
	public Integer getVideoId() {
		return videoId;
	}

	public void setVideoId(Integer videoId) {
		this.videoId = videoId;
	}
	
	@ExcelField(title="商品ID", align=2, sort=1)
	public Integer getProductId() {
		return productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}
	
	@ExcelField(title="封面图片ID", align=2, sort=2)
	public String getCoverPlan() {
		return coverPlan;
	}

	public void setCoverPlan(String coverPlan) {
		this.coverPlan = coverPlan;
	}
	
	@ExcelField(title="视频地址", align=2, sort=3)
	public String getVideoUrl() {
		return videoUrl;
	}

	public void setVideoUrl(String videoUrl) {
		this.videoUrl = videoUrl;
	}
	
	@ExcelField(title="视频描述", align=2, sort=4)
	public String getVideoDesc() {
		return videoDesc;
	}

	public void setVideoDesc(String videoDesc) {
		this.videoDesc = videoDesc;
	}
	
}